﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using Entity;
namespace BLL
{
    public class L_CommentBLL
    {
        //查询评论信息
        public static List<Comment> SelectComment()
        {
            return L_CommentDAL.SelectComment();
        }
        public static void UpdateComment(Comment c)
        {
            L_CommentDAL.UpdateComment(c);
        }
        //查询订单信息
        public static List<OrdersandAddress> SelectOrder()
        {
            return L_CommentDAL.SelectOrder();
        }
        //接收订单
        public static void UpdateOreder(OrderInformatica o)
        {
            L_CommentDAL.UpdateOreder(o);
        }
        //拒绝订单
        public static void UpdateOreders(OrderInformatica o)
        {
            L_CommentDAL.UpdateOreders(o);
        }
        //修改订单信息
        public static List<ShoppingAddress> UpdateOrederMessage(OrdersandAddress s)
        {
            return L_CommentDAL.UpdateOrederMessage(s);

        }
        //修改订单信息
        public static void UpdateShop(ShoppingAddress s)
        {
            L_CommentDAL.UpdateShop(s);
        }
    }
}
